﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CrearNuevaCuenta.aspx.cs" Inherits="Administrador.Mantenimiento_de_Cuentas.CrearNuevaCuenta" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
    <style type="text/css">
        .style2
        {
            width: 228px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <p align="center"
        style="font-size: xx-large; font-weight: bold; font-family: 'Adobe Caslon Pro Bold'; color: #514933;">
        Crear Nueva Cuenta</p>
    <div align="center">
        <table style="width:100%;">
            <tr>
                <td align="right" class="style2">
                    <asp:Label ID="Label1" runat="server" Text="Nombre: " Width="150px"></asp:Label>
                </td>
                <td align="left">
                    <asp:TextBox ID="TextNom" runat="server"></asp:TextBox>
                    <asp:requiredfieldvalidator id="Requiredfieldvalidator9" ControlToValidate="TextNom" Display="dynamic" runat="server">*</asp:requiredfieldvalidator>
                </td>
            </tr>
            <tr>
                <td align="right" class="style2">
                    <asp:Label ID="Label2" runat="server" Text="Apellido: " Width="150px"></asp:Label>
                </td>
                <td align="left">
                    <asp:TextBox ID="TextAp" runat="server"></asp:TextBox>
                    <asp:requiredfieldvalidator id="Requiredfieldvalidator1" ControlToValidate="TextAp" Display="dynamic" runat="server">*</asp:requiredfieldvalidator>
                </td>
            </tr>
            <tr>
                <td align="right" class="style2">
                    <asp:Label ID="Label7" runat="server" Text="Cedula: " Width="150px"></asp:Label>
                </td>
                <td align="left">
                    <asp:TextBox ID="TextCed" runat="server"></asp:TextBox>
                    <asp:requiredfieldvalidator id="Requiredfieldvalidator5" ControlToValidate="TextCed" Display="dynamic" runat="server">*</asp:requiredfieldvalidator>
                </td>
            </tr>
            <tr>
                <td class="style2">
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td align="right" class="style2">
                    <asp:Label ID="Label3" runat="server" Text="Usuario:   " Width="150px"></asp:Label>
                </td>
                <td align="left">
                    <asp:TextBox ID="TextUser" runat="server"></asp:TextBox>
                    <asp:Label ID="Label4" runat="server" Font-Bold="True" Text="   @da2.com"></asp:Label>
                    <asp:requiredfieldvalidator id="Requiredfieldvalidator2" ControlToValidate="TextUser" Display="dynamic" runat="server">*</asp:requiredfieldvalidator>
                </td>
            </tr>
            <tr>
                <td align="right" class="style2">
                    <asp:Label ID="Label5" runat="server" Text="Contraseña:" Width="150px"></asp:Label>
                </td>
                <td align="left">
                    <asp:TextBox ID="TextPass" runat="server" TextMode="Password"></asp:TextBox>
                    <asp:requiredfieldvalidator id="Requiredfieldvalidator3" ControlToValidate="TextPass" Display="dynamic" runat="server">*</asp:requiredfieldvalidator>
                    </td>
            </tr>
            <tr>
                <td align="right" class="style2">
                    <asp:Label ID="Label6" runat="server" Text="Confirmar contraseña:" 
                        Width="150px"></asp:Label>
                </td>
                <td align="left">
                    <asp:TextBox ID="TextConfirm" runat="server" TextMode="Password"></asp:TextBox>
                    <asp:requiredfieldvalidator id="Requiredfieldvalidator4" ControlToValidate="TextConfirm" Display="dynamic" runat="server">*</asp:requiredfieldvalidator>
                    </td>
            </tr>
            <tr>
                <td class="style2">
                    &nbsp;</td>
                <td>
                    &nbsp;<asp:comparevalidator id="ContrasenaValidator" ControlToCompare="TextConfirm" ControlToValidate="TextPass" Display="dynamic" runat="server" ErrorMessage="Las contraseñas no coinciden." /></td>
                    
            </tr>
        </table>
    </div>
    <p align="center">
        <asp:Button ID="Button1" runat="server" Height="21px" Text="Crear" 
            Width="80px" onclick="Button1_Click" />
    </p>
    <p align="center">
        &nbsp;</p>
    <p align="center">
        &nbsp;</p>
    <p align="center">
        &nbsp;</p>
    <p align="center">
        &nbsp;</p>
    <p align="right">
        <asp:HyperLink ID="HyperLink1" runat="server" ForeColor="#0066FF" 
            NavigateUrl="~/Main.aspx">Volver</asp:HyperLink>
    </p>
    <p align="center">
        &nbsp;</p>
    <p align="center">
        &nbsp;</p>
</form>
</body>
</html>
